package com.farmer.finance.service;

import com.farmer.common.result.Result;

public interface FinanceService {
    Result<?> list(String type, Long userId, Integer pageNum, Integer pageSize);

    Result<?> add(com.farmer.common.entity.FinanceService entity);

    Result<?> update(com.farmer.common.entity.FinanceService entity);

    Result<?> delete(Long id);

    Result<?> detail(Long id);
}